package com.chaopei.day03;

/**
 * @Author Corday 天涯
 * @Date 2022/3/7 10:19
 */
public class Toy extends Pet {
 private  Double value;
    public Toy(){}
    public Toy(Double value) {
        this.value = value;
    }

    public Toy(Integer pid, String name, Double value) {
        super(pid, name);
        this.value = value;
    }
    //set/get

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }
}
